package pojo;

import java.util.Date;

public class Question {
	private int qid;
	private String qTitle;
	private String qContent;
	private int userid;
	private String userName;
	private String userIma;
	private Date qTime;
	private int qFocusNum;
	private int qAnswerNum;
	
	public Question() {
		super();
	}

	public Question(int qid, String qTitle, String qContent, int userid, String userName, String userIma, Date qTime,
			int qFocusNum, int qAnswerNum) {
		super();
		this.qid = qid;
		this.qTitle = qTitle;
		this.qContent = qContent;
		this.userid = userid;
		this.userName = userName;
		this.userIma = userIma;
		this.qTime = qTime;
		this.qFocusNum = qFocusNum;
		this.qAnswerNum = qAnswerNum;
	}
	
	public Question(int qid, String qTitle, String qContent, int userid, Date qTime,
			int qFocusNum, int qAnswerNum) {
		super();
		this.qid = qid;
		this.qTitle = qTitle;
		this.qContent = qContent;
		this.userid = userid;
		this.qTime = qTime;
		this.qFocusNum = qFocusNum;
		this.qAnswerNum = qAnswerNum;
	}
	
	

	/**
	 * @return the qid
	 */
	public int getQid() {
		return qid;
	}

	/**
	 * @param qid the qid to set
	 */
	public void setQid(int qid) {
		this.qid = qid;
	}

	/**
	 * @return the qTitle
	 */
	public String getqTitle() {
		return qTitle;
	}

	/**
	 * @param qTitle the qTitle to set
	 */
	public void setqTitle(String qTitle) {
		this.qTitle = qTitle;
	}

	/**
	 * @return the qContent
	 */
	public String getqContent() {
		return qContent;
	}

	/**
	 * @param qContent the qContent to set
	 */
	public void setqContent(String qContent) {
		this.qContent = qContent;
	}

	/**
	 * @return the userid
	 */
	public int getUserid() {
		return userid;
	}

	/**
	 * @param userid the userid to set
	 */
	public void setUserid(int userid) {
		this.userid = userid;
	}

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the userIma
	 */
	public String getUserIma() {
		return userIma;
	}

	/**
	 * @param userIma the userIma to set
	 */
	public void setUserIma(String userIma) {
		this.userIma = userIma;
	}

	/**
	 * @return the qTime
	 */
	public Date getqTime() {
		return qTime;
	}

	/**
	 * @param qTime the qTime to set
	 */
	public void setqTime(Date qTime) {
		this.qTime = qTime;
	}

	/**
	 * @return the qFocusNum
	 */
	public int getqFocusNum() {
		return qFocusNum;
	}

	/**
	 * @param qFocusNum the qFocusNum to set
	 */
	public void setqFocusNum(int qFocusNum) {
		this.qFocusNum = qFocusNum;
	}

	/**
	 * @return the qAnswerNum
	 */
	public int getqAnswerNum() {
		return qAnswerNum;
	}

	/**
	 * @param qAnswerNum the qAnswerNum to set
	 */
	public void setqAnswerNum(int qAnswerNum) {
		this.qAnswerNum = qAnswerNum;
	}

	@Override
	public String toString() {
		return "Question [qid=" + qid + ", qTitle=" + qTitle + ", qContent=" + qContent + ", userid=" + userid
				+ ", userName=" + userName + ", userIma=" + userIma + ", qTime=" + qTime + ", qFocusNum=" + qFocusNum
				+ ", qAnswerNum=" + qAnswerNum + "]";
	}
	
	

}
